package org.csu.wuliu.persistence;


import org.csu.wuliu.domain.Substation;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SubstationMapper {
    Substation getSubstationBySubstationId(String substationId);
    void insertSubstation(Substation substation);
    void updateSubstation(Substation substation);
    void deleteSubstation(Substation substation);
    Substation getSubstationByAddress(String address);
    List<Substation> getSubstationList();

}
